package com.gitee.feizns.zxw.web.controller.api;

import com.gitee.feizns.web.domain.page.PageAo;
import com.gitee.feizns.web.domain.result.Ret;
import com.gitee.feizns.zxw.domain.portal.vo.page.pc.nav.theme.tourism.ListVo;
import com.gitee.feizns.zxw.service.api.ApiPagePcNavThemeTourismService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * 导航 => 旅游主题
 * @author feizns
 * @since 2019/9/9
 */
@RestController
@RequestMapping("/api/v1/portal/page/pc/nav/theme-tourism")
public class ApiPagePcNavThemeTourismController {

    @Autowired
    private ApiPagePcNavThemeTourismService apiPagePcNavThemeTourismService;

    /**
     * 列表
     * @return com.gitee.feizns.zxw.domain.portal.vo.page.pc.nav.theme.tourism.FirstVo
     */
    @GetMapping
    public Ret<List<ListVo>> list() {
        return Ret.ok(apiPagePcNavThemeTourismService.list());
    }

}
